//
//  ModuleConnectors.h
//  CocoaSynth
//
//  Created by Thomas Dupont on 03/03/10.
//  Copyright 2010 Apple Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class PortViewController;

@interface ModuleConnectors : NSObject {
	NSMutableSet* ports;
	NSString* name;
}

@property (readonly) NSMutableSet* ports;
@property (readonly) NSString* name;

- (id)initWithName:(NSString*)aName;

- (BOOL)containsPort:(PortViewController*)aPort;

- (void)addPort:(PortViewController*)aPort;

- (void)removePort:(PortViewController*)aPort;

@end
